package com.frogs.ucenter.dao;

import java.sql.SQLException;
import java.util.Map;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.util.PageList;
import com.frogs.ucenter.entity.TaskInfo;
import com.frogs.ucenter.entity.TaskInfoExt;
import com.frogs.ucenter.entity.TaskInfoWithFlowTaskCompleteInfo;
import com.frogs.ucenter.entity.TaskInfoWithPointTaskCompleteInfo;

public interface TaskInfoDao extends BaseDao<TaskInfo> {

	public PageList<TaskInfoWithFlowTaskCompleteInfo> selectWithFlowTaskCompletionByMap(Map<String, Object> params,
			int pageNo, int pageSize) throws SQLException;

	public PageList<TaskInfoWithPointTaskCompleteInfo> selectWithPointTaskCompletionByMap(Map<String, Object> params,
			int pageNo, int pageSize) throws SQLException;

	public PageList<TaskInfoExt> selectLeftJoinByMap(Map<String, Object> params, int pageNo, int pageSize)
			throws SQLException;
}